﻿using Me.Amon.C;

namespace Me.Amon.KPT
{
    public class PKpt : PObj
    {
        /// <summary>
        /// 清单GTD
        /// </summary>
        public const string PARAM_OPT_LIST_GTDS = "l";
        /// <summary>
        /// 查询GTD
        /// </summary>
        public const string PARAM_OPT_FIND_GTDS = "f";
        /// <summary>
        /// 添加GTD
        /// </summary>
        public const string PARAM_OPT_CREATE_GTD = "c";
        /// <summary>
        /// 删除GTD
        /// </summary>
        public const string PARAM_OPT_DELETE_GTD = "d";
        /// <summary>
        /// 详情GTD
        /// </summary>
        public const string PARAM_OPT_DETAIL_GTD = "i";
        /// <summary>
        /// 状态GTD
        /// </summary>
        public const string PARAM_OPT_CHANGE_GTD = "h";
        /// <summary>
        /// 更新GTD
        /// </summary>
        public const string PARAM_OPT_UPDATE_GTD = "u";
        /// <summary>
        /// 更新KPT
        /// </summary>
        public const string PARAM_OPT_UPDATE_KPT = "k";
        /// <summary>
        /// 更新TAG
        /// </summary>
        public const string PARAM_OPT_UPDATE_TAG = "t";

        public const string PARAM_KEY_USER = "u";
        public const string PARAM_KEY_HASH = "h";

        /// <summary>
        /// GTD索引
        /// </summary>
        public const string PARAM_DAT_GTD = "di";
        public const string PARAM_DAT_SUBJECT = "ds";
        public const string PARAM_DAT_CONTENT = "dc";
        public const string PARAM_DAT_PROJECT = "dj";
        public const string PARAM_DAT_MAJOR = "dm";
        public const string PARAM_DAT_LABEL = "dl";
        public const string PARAM_DAT_STATUS = "du";
        public const string PARAM_DAT_K = "dk";
        public const string PARAM_DAT_P = "dp";
        public const string PARAM_DAT_T = "dt";
        public const string PARAM_DAT_TAG = "dg";

        /// <summary>
        /// 
        /// </summary>
        public const int ERROR_CODE_USER_ERROR = 3;
        public const int ERROR_CODE_KEY_EMPTY = 4;
        /// <summary>
        /// 
        /// </summary>
        public const int ERROR_CODE_SUBJECT_EMPTY = 5;
    }
}
